home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMXULDescriptionElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  5KB  |  138 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMXULDescriptionElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMXULDescriptionElement_h__
  6. #define __gen_nsIDOMXULDescriptionElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMXULElement_h__
  10. #include "nsIDOMXULElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMXULDescriptionElement */
  19. #define NS_IDOMXULDESCRIPTIONELEMENT_IID_STR "c7b0b43c-1dd1-11b2-9e1c-ce5f6a660630"
  20.  
  21. #define NS_IDOMXULDESCRIPTIONELEMENT_IID \
  22.   {0xc7b0b43c, 0x1dd1, 0x11b2, \
  23.     { 0x9e, 0x1c, 0xce, 0x5f, 0x6a, 0x66, 0x06, 0x30 }}
  24.  
  25. class NS_NO_VTABLE nsIDOMXULDescriptionElement : public nsIDOMXULElement {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMXULDESCRIPTIONELEMENT_IID)
  29.  
  30.   /* attribute boolean disabled; */
  31.   NS_IMETHOD GetDisabled(PRBool *aDisabled) = 0;
  32.   NS_IMETHOD SetDisabled(PRBool aDisabled) = 0;
  33.  
  34.   /* attribute boolean crop; */
  35.   NS_IMETHOD GetCrop(PRBool *aCrop) = 0;
  36.   NS_IMETHOD SetCrop(PRBool aCrop) = 0;
  37.  
  38.   /* attribute DOMString value; */
  39.   NS_IMETHOD GetValue(nsAString & aValue) = 0;
  40.   NS_IMETHOD SetValue(const nsAString & aValue) = 0;
  41.  
  42. };
  43.  
  44. /* Use this macro when declaring classes that implement this interface. */
  45. #define NS_DECL_NSIDOMXULDESCRIPTIONELEMENT \
  46.   NS_IMETHOD GetDisabled(PRBool *aDisabled); \
  47.   NS_IMETHOD SetDisabled(PRBool aDisabled); \
  48.   NS_IMETHOD GetCrop(PRBool *aCrop); \
  49.   NS_IMETHOD SetCrop(PRBool aCrop); \
  50.   NS_IMETHOD GetValue(nsAString & aValue); \
  51.   NS_IMETHOD SetValue(const nsAString & aValue); 
  52.  
  53. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  54. #define NS_FORWARD_NSIDOMXULDESCRIPTIONELEMENT(_to) \
  55.   NS_IMETHOD GetDisabled(PRBool *aDisabled) { return _to GetDisabled(aDisabled); } \
  56.   NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
  57.   NS_IMETHOD GetCrop(PRBool *aCrop) { return _to GetCrop(aCrop); } \
  58.   NS_IMETHOD SetCrop(PRBool aCrop) { return _to SetCrop(aCrop); } \
  59.   NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
  60.   NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } 
  61.  
  62. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  63. #define NS_FORWARD_SAFE_NSIDOMXULDESCRIPTIONELEMENT(_to) \
  64.   NS_IMETHOD GetDisabled(PRBool *aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
  65.   NS_IMETHOD SetDisabled(PRBool aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
  66.   NS_IMETHOD GetCrop(PRBool *aCrop) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCrop(aCrop); } \
  67.   NS_IMETHOD SetCrop(PRBool aCrop) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCrop(aCrop); } \
  68.   NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
  69.   NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } 
  70.  
  71. #if 0
  72. /* Use the code below as a template for the implementation class for this interface. */
  73.  
  74. /* Header file */
  75. class nsDOMXULDescriptionElement : public nsIDOMXULDescriptionElement
  76. {
  77. public:
  78.   NS_DECL_ISUPPORTS
  79.   NS_DECL_NSIDOMXULDESCRIPTIONELEMENT
  80.  
  81.   nsDOMXULDescriptionElement();
  82.  
  83. private:
  84.   ~nsDOMXULDescriptionElement();
  85.  
  86. protected:
  87.   /* additional members */
  88. };
  89.  
  90. /* Implementation file */
  91. NS_IMPL_ISUPPORTS1(nsDOMXULDescriptionElement, nsIDOMXULDescriptionElement)
  92.  
  93. nsDOMXULDescriptionElement::nsDOMXULDescriptionElement()
  94. {
  95.   /* member initializers and constructor code */
  96. }
  97.  
  98. nsDOMXULDescriptionElement::~nsDOMXULDescriptionElement()
  99. {
  100.   /* destructor code */
  101. }
  102.  
  103. /* attribute boolean disabled; */
  104. NS_IMETHODIMP nsDOMXULDescriptionElement::GetDisabled(PRBool *aDisabled)
  105. {
  106.     return NS_ERROR_NOT_IMPLEMENTED;
  107. }
  108. NS_IMETHODIMP nsDOMXULDescriptionElement::SetDisabled(PRBool aDisabled)
  109. {
  110.     return NS_ERROR_NOT_IMPLEMENTED;
  111. }
  112.  
  113. /* attribute boolean crop; */
  114. NS_IMETHODIMP nsDOMXULDescriptionElement::GetCrop(PRBool *aCrop)
  115. {
  116.     return NS_ERROR_NOT_IMPLEMENTED;
  117. }
  118. NS_IMETHODIMP nsDOMXULDescriptionElement::SetCrop(PRBool aCrop)
  119. {
  120.     return NS_ERROR_NOT_IMPLEMENTED;
  121. }
  122.  
  123. /* attribute DOMString value; */
  124. NS_IMETHODIMP nsDOMXULDescriptionElement::GetValue(nsAString & aValue)
  125. {
  126.     return NS_ERROR_NOT_IMPLEMENTED;
  127. }
  128. NS_IMETHODIMP nsDOMXULDescriptionElement::SetValue(const nsAString & aValue)
  129. {
  130.     return NS_ERROR_NOT_IMPLEMENTED;
  131. }
  132.  
  133. /* End of implementation class template. */
  134. #endif
  135.  
  136.  
  137. #endif /* __gen_nsIDOMXULDescriptionElement_h__ */
  138.